package com.jackiechancinema.ssm.service.Inte;

import com.github.pagehelper.PageInfo;
import com.jackiechancinema.ssm.bo.DrillBo;
import com.jackiechancinema.ssm.entity.Dreams;
import com.jackiechancinema.ssm.entity.Drills;
import com.jackiechancinema.ssm.vo.PageVo;
import com.jackiechancinema.ssm.vo.R;

import java.util.List;

public interface DrillService {
    PageVo<Drills> findAllV2(DrillBo bo);

    //查询所有
    PageInfo<Drills> findAll(int page,int limit);
    //新增
    R DrillAdd(Drills drills);
    //修改
    R DrillUpdate(Drills drills);
    //根据ID删除
    R DrillDel(int id);
}
